OneOfCluster

Section: ET++ class description (n)
Updated: automatically Thu Mar 21 20:11:28 1991
Index Return to Main Contents
 

NAME

OneOfCluster.short - only one button can be on at the same time  

DESCRIPTION

The OneOfCluster manages a group of two-state buttons whereby always only one button may be in state "on" at the same time (in contrast to the class ManyOfCluster). Usually LabeledButtons, with an instance of the class RadioButton inside, are put in a OneOfCluster.
If a button is selected, then it is switched on and all other buttons are switched off. Next handlers are notified about the selection via the method Control with the following arguments: the id of the OneOfCluster, the id of the selected button, the new state of the button which is always TRUE. Therefore it is important to assign an id to the OneOfCluster. See the method ChangeDialog::DoCreateDialog for an example.


classes are never derived from OneOfCluster.
class OneOfCluster is sometimes reused directly.
class OneOfCluster contains 7 methods.

owner of class:
nobody.
baseclasses:
Cluster
flags:
CompositeVObjectFlags

 

INSTANCE METHOD LIST

client interface
GetCurrentItem
OneOfCluster
SetItemOn

implementation
Control
Init

 

CATEGORIES

VObject Composition

 

FILES

declaration:
OneOfCluster.h

 

HISTORY

joe@csesbg.at  Mon Sep 09 09:51 1991 MET DST


 

Index

NAME
DESCRIPTION
INSTANCE METHOD LIST
CATEGORIES
FILES
HISTORY

This document was created by man2html, using the manual pages.
Time: 00:40:24 GMT, March 30, 2022